load("//tools:defaults.bzl", "angular_jasmine_test", "ng_web_test_suite", "ts_project")

package(default_visibility = ["//visibility:private"])

ts_project(
    name = "compiler_lib",
    testonly = True,
    srcs = glob(
        ["**/*.ts"],
    ),
    deps = [
        "//packages/core/src/compiler",
        "//packages/core/src/util",
    ],
)

angular_jasmine_test(
    name = "compiler",
    data = [
        ":compiler_lib",
    ],
)

ng_web_test_suite(
    name = "compiler_web",
    deps = [
        ":compiler_lib",
    ],
)
